package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 数据指标
 *
 * @author Michael Chow
 * @date   2020/11/14
 */
@Table(name = "t_index")
public class Index implements Serializable {
    /**
     * 
     */
    @Id
    private Integer id;

    /**
     * 数据指标类型
     */
    private String indexType;

    /**
     * 数据指标单位
     */
    private String unit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIndexType() {
        return indexType;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}